#include <func.h>

int main(int argc,char *argv[])
{
    int shmid=shmget(0x1234,4096,IPC_CREAT|0600);
    char* p=(char*)shmat(shmid,NULL,0);
    printf("p=%s",p);
    shmdt(p);
    return 0;
}

